import { AtCard, AtNavBar } from 'taro-ui';
import React from 'react';
import config from "../../config.json";
import { Image } from '@tarojs/components';
import Taro from "@tarojs/taro";

class aboutUs extends React.Component<any, any>{
    constructor(...props) {
        super(props);

    }
    render() {
        return (
            <div style={{position: "relative"}}>
                <AtNavBar
                    onClickLeftIcon={() => { Taro.navigateBack() }}
                    color='#000'
                    title='关于我们'
                    leftIconType="chevron-left"
                />
                <img
                    style={{
                        position: "fixed",
                        top: "50%",
                        left: "50%",
                        width: "100%",
                        maxWidth: "500px",
                        height: "auto",
                        transform: "translate(-50%, -50%)"
                    }}
                    src={config.domainName + "/aboutUs.jpg"}
                ></img>
            </div>
        )
    }
}
export default aboutUs;